package net.myjung.model;

import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;

@MdlClass(name = "DataSource")
@SuppressWarnings("serial")
public class MdlDataSource extends BaseObject {
	@MdlAttribute
	private String database;
	@MdlAttribute
	private String type;
	@MdlAttribute
	private String jndiName;
	@MdlAttribute
	private String driverClassName;
	@MdlAttribute
	private String url;
	@MdlAttribute
	private String username;
	@MdlAttribute
	private String password;
	@MdlAttribute
	private String maxActive;
	@MdlAttribute
	private String minIdle;
	@MdlAttribute
	private String maxIdle;
	@MdlAttribute
	private String maxWait;
	@MdlAttribute
	private String timeBetweenEvictionRunsMillis;
	public String getDatabase() {
		return database;
	}
	public void setDatabase(String database) {
		this.database = database;
	}
	public String getType() {
		return type;
	}
	public void setType(String table) {
		this.type = table;
	}
	public String getJndiName() {
		return jndiName;
	}
	public void setJndiName(String dtd) {
		this.jndiName = dtd;
	}
	public String getDriverClassName() {
		return driverClassName;
	}
	public void setDriverClassName(String driverClassName) {
		this.driverClassName = driverClassName;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getMaxActive() {
		return maxActive;
	}
	public void setMaxActive(String minActive) {
		this.maxActive = minActive;
	}
	public String getMinIdle() {
		return minIdle;
	}
	public void setMinIdle(String minIdle) {
		this.minIdle = minIdle;
	}
	public String getMaxIdle() {
		return maxIdle;
	}
	public void setMaxIdle(String maxIdle) {
		this.maxIdle = maxIdle;
	}
	public String getMaxWait() {
		return maxWait;
	}
	public void setMaxWait(String maxWait) {
		this.maxWait = maxWait;
	}
	public String getTimeBetweenEvictionRunsMillis() {
		return timeBetweenEvictionRunsMillis;
	}
	public void setTimeBetweenEvictionRunsMillis(
			String timeBetweenEvictionRunsMillis) {
		this.timeBetweenEvictionRunsMillis = timeBetweenEvictionRunsMillis;
	}
}
